home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000013_fdc@columbia.edu_Wed Apr 23 09:14:25 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  63 lines

  1. Article: 14229 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: File Transfer as Backup from Xenix 2.3.4 to WinOS
  6. Date: 23 Apr 2003 09:14:16 -0400
  7. Organization: Columbia University
  8. Lines: 46
  9. Message-ID: <b863j8$hfe$1@watsol.cc.columbia.edu>
  10. References: <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1051103658 5061 128.59.39.139 (23 Apr 2003 13:14:18 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 23 Apr 2003 13:14:18 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14229
  16.  
  17. In article <ofnpa.182462$vs.18609662@news3.calgary.shaw.ca>,
  18. Will Martin <squares@shaw.ca> wrote:
  19. : ...
  20. : We have a Xenix 2.3.4 box that I need to backup files off of onto the NT
  21. : network. Files are regularly created, changed, or deleted from the data
  22. : areas. The Xenix box is date-windowed as well, so some files have current
  23. : year, some current -28.
  24. : ...
  25. : Based on the date of the file I need to ensure the update to the NT system
  26. : is accurate; all of the files affected by date windowing are not updating to
  27. : the NT box with the date from the Xenix system. The above script simply
  28. : tries to set file collision to "backup" for any files whose year is less
  29. : than the date windowed year, and to update for all others.
  30. : The problems at this time:
  31. : 1.    For "remote set file collision update" I receive an invalid set
  32. : parameter message.
  33. :
  34. You didn't say which version of Kermit you are using Xenix, and which
  35. Kermit program and version is on the other end.  It sounds like one or
  36. the other doesn't support this command.  Current versions of C-Kermit and
  37. Kermit 95 support both the client and server end of this command:
  38.  
  39.   http://www.columbia.edu/kermit/ckermit.html
  40.   http://www.columbia.edu/kermit/k95.html
  41.  
  42. : 2.    The receiving system is not getting the date attribute correctly; the
  43. : date windowed files are all being received as current year, which prevents
  44. : simply updating them.
  45. :
  46. What Kermit program and version does the receiving system have?
  47.  
  48. : 3. I'm not familiar enough with file/date manipulation to change the file
  49. : creation date in Xenix through kermit. This would be a clean solution. I
  50. : have read many sections of "Using C-Kermit"  and the varied and plentiful
  51. : addenda available on the columbia site.
  52. :
  53. Date arithmetic is easy in Kermit, e.g.:
  54.  
  55.   date \fdate(filename)+28years
  56.  
  57. but at present there is no way to tell Kermit to change a file's creation
  58. date, or to lie about it in the file attribute packet.  I'll add this items
  59. to my to-do list to consider for a future release.
  60.  
  61. - Frank
  62.